﻿@model Janus.Mes.VO.SysConfigVO

@{
    Layout = null;
    var i = 1;
    ViewBag.ViewTitle = "工序-工艺路线";
}
<div class="pageContent">
    <form method="post" action="System/SysConfig/create?OpID=@ViewData["OperateID"]" class="pageForm required-validate"
          onsubmit="return validateCallback(this, dialogAjaxDone);">
        @Html.ValidationSummary(true)
        <div class="pageFormContent" layouth="56">
            <input id="hidIsCreate" name="hidIsCreate" type="hidden" value="@ViewBag.IsCreate" />
            @Html.HiddenFor(model => model.Id)
            <p>
                <label>
                    所属工序：
                </label>
                @Html.TextBoxFor(sysConfig => sysConfig.Key, new { @Readonly = "true",@Value= "GX0001" })
                @Html.ValidationMessageFor(sysConfig => sysConfig.Key)
            </p>
            <p>
                <label>
                    设备组类别：
                </label>
                <select class="textInput " style="width:160px;"><option>类别1</option></select>
                @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
            </p>

            <p>
                <label>
                    设备组编码：
                </label>
                @Html.TextBoxFor(sysConfig => sysConfig.Key)
                @Html.ValidationMessageFor(sysConfig => sysConfig.Key)
            </p>
            <p>
                <label>
                    设备组名称：
                </label>
                @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @class = "required" })
                <input id="btn" type="button" value="..." style="float:left;" />
                @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
            </p>
            <p>
                <label>
                    设备数：
                </label>
                @Html.TextBoxFor(sysConfig => sysConfig.Key)
                @Html.ValidationMessageFor(sysConfig => sysConfig.Key)
            </p>
            <p>
                <label>
                    刀位：
                </label>
                @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @class = "required" })
                <input id="btn" type="button" value="..." style="float:left;" />
            </p>
            <p>
                <label>
                    主生产设备：
                </label>
                <input type="checkbox" />
            </p>
            <p style="width:100%;height:35px;">
                <label>
                    备注：
                </label>
                @Html.TextBoxFor(sysConfig => sysConfig.Value, new { style = "width:80%;height:60px;" })
                @Html.ValidationMessageFor(sysConfig => sysConfig.Value)
            </p>

        </div>
        @Html.Partial("FormButtonBar")
    </form>
</div>
